PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme-Compliant Sounds

As shown in Figure 2-6 , the user can select preferences for the use of sounds in a theme. Therefore, not only may users choose to play sounds associated with various aspects of your program's user interface, but the sounds associated with various interface elements may change with a theme change. If you are using standard interface elements (that is, system-defined windows, controls, and menus), the system automatically plays the appropriate sounds, if any, for these elements in the current theme.

Some programs may not use standard interface elements in all instances, however. In such cases, to ensure that your program's sounds match those used in the current theme, you should use the Appearance Manager to determine the sounds that your program uses. The Appearance Manager provides the following functions for playing theme sounds:


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)